package cn.sciento.starter.keyencrypt.core;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "stong.key-encrypt")
public class EncryptProperties {
  static final String PREFIX = "stong.key-encrypt";
  
  private String secretKey = "A5/vRTuHzZshct28bZSAiw==";
  
  private String cipherFormat = "=%s=";
  
  public String getSecretKey() {
    return this.secretKey;
  }
  
  public EncryptProperties setSecretKey(String secretKey) {
    this.secretKey = secretKey;
    return this;
  }
  
  public String getCipherFormat() {
    return this.cipherFormat;
  }
  
  public EncryptProperties setCipherFormat(String cipherFormat) {
    this.cipherFormat = cipherFormat;
    return this;
  }
}
